home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Win98 / MEMPHIS / MPINST97.BAT < prev    next >
Encoding:
DOS Batch File  |  1997-06-24  |  2.9 KB  |  97 lines

  1. echo off
  2. rem Memphis Install stuck together by Gavin Cope
  3. rem gavin@lis.net.au - http://www.lis.net.au/~gavin/
  4. if exist %winbootdir%\System\Memphis\user.old goto uninstall
  5. cls
  6. echo.
  7. echo                                                          Memphis Install v1.1
  8. echo.
  9. echo.
  10. echo.
  11. echo.
  12. echo.
  13. echo ████      ████  ████████  ████      ████  ███████   ████  ████  ████   █████
  14. echo  ████    ████    ██    █   ████    ████    ██   ██   ██    ██    ██   ██   ██
  15. echo  ██ ██  ██ ██    ██        ██ ██  ██ ██    ██   ██   ██    ██    ██    ██
  16. echo  ██  ████  ██    █████     ██  ████  ██    ██████    ████████    ██     ██
  17. echo  ██   ██   ██    ██        ██   ██   ██    ██        ██    ██    ██       ██
  18. echo  ██        ██    ██    █   ██        ██    ██        ██    ██    ██   ██   ██
  19. echo ████      ████  ████████  ████      ████  ████      ████  ████  ████   █████
  20. echo.
  21. echo                                                        ...Visual Enhancements
  22. echo.
  23. choice /c:yn Are you sure you wish to install 
  24. if errorlevel 2 goto noinstall
  25. if errorlevel 1 goto disclaim
  26.  
  27. :disclaim
  28. cls
  29. type disclaim.txt | more
  30. echo.
  31. choice /c:yn Do you accept these Conditions 
  32. if errorlevel 2 goto noinstall
  33. if errorlevel 1 goto install
  34.  
  35. :install
  36. echo.
  37. echo Backing-Up Windows95 Files...
  38. md %winbootdir%\system\Memphis > nul
  39. copy %winbootdir%\system\user.exe %winbootdir%\system\Memphis\user.old > nul
  40. copy %winbootdir%\system\user32.dll %winbootdir%\system\Memphis\user32.old > nul
  41. echo.
  42. echo Back up complete.
  43. echo.
  44. echo Installing Memphis Files...
  45. copy user.ex_ %winbootdir%\system\user.exe > nul
  46. copy user32.dl_ %winbootdir%\system\user32.dll > nul
  47. copy readme.txt %winbootdir%\system\Memphis\readme.txt > nul
  48. copy mpinst97.bat %winbootdir%\system\Memphis\mpinst97.bat > nul
  49. copy remove.pi_ %winbootdir%\system\Memphis\Setup.pif >nul
  50. echo.
  51. echo Installation complete.
  52. echo.
  53. echo Memphis Visual Enhancements Installed Successfully.
  54. echo.
  55. echo To remove the enhancements:
  56. echo Run setup from the %winbootdir%\system\Memphis directory.
  57. echo.
  58. pause
  59. goto END
  60.  
  61. :noinstall
  62. cls
  63. echo.
  64. echo Memphis Visual Enhancements NOT Installed...
  65. echo.
  66. pause
  67. goto END
  68.  
  69. :uninstall
  70. cls
  71. echo.
  72. echo Setup has determined that you have the Memphis Visual Enhancements installed on your system.
  73. choice /c:yn Do you wish to remove the enhancements 
  74. if errorlevel 2 goto end
  75. if errorlevel 1 goto remove
  76.  
  77. :remove
  78. cls
  79. echo.
  80. echo Removing Memphis Files...
  81. del %winbootdir%\system\user.exe > nul
  82. del %winbootdir%\system\user32.dll > nul
  83. echo.
  84. echo Removal Complete...
  85. echo.
  86. echo Restoring Original Settings...
  87. move %winbootdir%\system\Memphis\user.old %winbootdir%\system\user.exe > nul
  88. move %winbootdir%\system\Memphis\user32.old %winbootdir%\system\user32.dll > nul
  89. echo.
  90. echo Restoration Complete...
  91. echo.
  92. echo You will need to delete the %winbootdir%\system\Memphis directory manually.
  93. echo.
  94. pause
  95.  
  96. :end
  97.